package com.example.chat.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author pq
 * @date 2022/8/19 20:41
 * @description
 * @modified
 **/
@Data
@ApiModel(description = "用户返回类")
public class UserVO {

    @ApiModelProperty(name = "主键")
    private String id;

    @ApiModelProperty(name = "用户昵称")
    private String nickname;

    @ApiModelProperty(name="用户头像")
    private String userAvatar;

    @ApiModelProperty(name="用户账号")
    private String userNumber;

    @ApiModelProperty(name="创建时间")
    private Date createDate;

    @ApiModelProperty(name="创建人")
    private String createUser;

    @ApiModelProperty(name="修改时间")
    private Date modifyDate;

    @ApiModelProperty(name="修改人")
    private String modifyUser;

    @ApiModelProperty(name = "用户状态")
    private Integer status;

    @Override
    public String toString() {
        return "UserVO{" +
                "id='" + id + '\'' +
                ", nickname='" + nickname + '\'' +
                ", userAvatar='" + userAvatar + '\'' +
                ", userNumber='" + userNumber + '\'' +
                ", createDate=" + createDate +
                ", createUser='" + createUser + '\'' +
                ", modifyDate=" + modifyDate +
                ", modifyUser='" + modifyUser + '\'' +
                ", status=" + status +
                '}';
    }
}
